package com.example.logining.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @title: JwtProperties
 * @author: wywang
 * @date: 2024/11/13
 * @description: JwtProperties
 **/
@Component
@ConfigurationProperties(prefix = "backend.jwt")
@Data
public class JwtProperties {
    /**
     * 生成用户生成jwt令牌相关配置
     */
    private String userSecretKey;
    private long userTtl;
    private String userTokenName;
}
